package cn.edu.fzu.homemaking.common;

public final class SessionConstant {

    private SessionConstant() {
    }

    public static final String ACCOUNT         = "ACCOUNT";

    // cookie name: 分布式 session id 通过 cookie 来跨服传递 
    public static final String DSESSIONID      = "DSESSION";

    public static final String COOKIE_PATH     = "/";

    // 退出登录的 uri
    public static final String LOGOUT_URI      = "/api/sso/logout";

    public static final String TOKEN           = "token";

    public static final String REDIRECT_URL    = "redirectUrl";

    // session 过期时间, 秒
    public static final int    SESSION_TIMEOUT = 1800;

    public static final String USER_TYPE       = "USER_TYPE";

    public static final String USER            = "USER";

    public static final String SYS_USER        = "SYS_USER";

    public static final String COMPANY         = "COMPANY";

    public static final String USER_ID         = "USER_ID";

    //充值成功的金额
    public static final String RECHARGE        = "RECHARGE";
}
